package com.th.supcom.pds.config.client.common;

import com.google.gwt.core.client.GWT;
import com.th.supcom.pds.config.client.service.PhamDispensaryConfigRpc;
import com.th.supcom.pds.config.client.service.PhamDispensaryConfigRpcAsync;
import com.th.supcom.pds.config.client.service.PhamMachineConfigRpc;
import com.th.supcom.pds.config.client.service.PhamMachineConfigRpcAsync;
import com.th.supcom.pds.config.client.service.PhamWindowConfigRpc;
import com.th.supcom.pds.config.client.service.PhamWindowConfigRpcAsync;

/**
 * PhamDispensaryConfig 控制器.
 * 
 * 药房属性.
 */
public final class PhamConfigServiceFactory
{
    /** RPC请求路径. */
    public static final String BASE_URL = "../pds/";

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";
    private static PhamDispensaryConfigRpcAsync s_phamDispensaryConfigRpcAsync = GWT.create (PhamDispensaryConfigRpc.class);
    private static PhamMachineConfigRpcAsync s_phamMachineConfigRpcAsync = GWT.create (PhamMachineConfigRpc.class);

    private static PhamWindowConfigRpcAsync s_phamWindowConfigRpcAsync = GWT.create (PhamWindowConfigRpc.class);

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

    public static PhamDispensaryConfigRpcAsync getPhamDispensaryConfigService ()
    {
        return PhamConfigServiceFactory.s_phamDispensaryConfigRpcAsync;
    }

    public static PhamMachineConfigRpcAsync getPhamMachineConfigService ()
    {
        return PhamConfigServiceFactory.s_phamMachineConfigRpcAsync;
    }

    public static PhamWindowConfigRpcAsync getPhamWindowConfigService ()
    {
        return PhamConfigServiceFactory.s_phamWindowConfigRpcAsync;
    }

    private PhamConfigServiceFactory ()
    {

    }
}